package exercise;

public class PrintFizz implements Runnable{
    private FizzBuzz fb;
	
	public PrintFizz(FizzBuzz fb) {
		super();
		this.fb = fb;
	}

	
	@Override
	public void run() {
		try {
			fb.fizz();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

}
